<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Conversation_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-conversation_id" data-rule="required" data-source="chat/conversations/index" class="form-control selectpage" name="row[conversation_id]" type="text" value="{$row.conversation_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sender_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sender_type" data-rule="required" class="form-control" name="row[sender_type]" type="number" value="{$row.sender_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sender_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sender_id" data-rule="required" data-source="sender/index" class="form-control selectpage" name="row[sender_id]" type="text" value="{$row.sender_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" data-rule="required" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Message_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-message_type" data-rule="required" class="form-control" name="row[message_type]" type="number" value="{$row.message_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('File_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-file_url" class="form-control" name="row[file_url]" type="text" value="{$row.file_url|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('File_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-file_name" class="form-control" name="row[file_name]" type="text" value="{$row.file_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('File_size')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-file_size" class="form-control" name="row[file_size]" type="number" value="{$row.file_size|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_read')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_read" data-rule="required" class="form-control" name="row[is_read]" type="number" value="{$row.is_read|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_recalled')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_recalled" data-rule="required" class="form-control" name="row[is_recalled]" type="number" value="{$row.is_recalled|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
